<h2>All Events</h2>
<% for event in @events %>
	<%= link_to event.name, "/events/view/#{event.id}" %><br />
<% end %>